package com.nativetalk.dao;

import com.nativetalk.bean.coupon.TdNtCouponDetail;

/**
 * Created by lizhun on 16/1/11.
 */
@MyBatisRepository
public interface TdNtCouponDao {
    /**
     * @Purpose  添加优惠券
     * @version  3.0
     * @author   lizhun
     * @param    tdNtCouponDetail
     * @return   void
     */
    public void insertTdNtCoupon(TdNtCouponDetail tdNtCouponDetail);
    /**
     * @Purpose  查找优惠券
     * @version  3.0
     * @author   lizhun
     * @param    tdNtCouponDetail
     * @return   TdNtCouponDetail
     */
    public TdNtCouponDetail findTdNtCouponDetail(TdNtCouponDetail tdNtCouponDetail);
    /**
     * @Purpose  更新优惠券
     * @version  3.0
     * @author   lizhun
     * @param    tdNtCouponDetail
     * @return   void
     */
    public void updateTdNtCoupon(TdNtCouponDetail tdNtCouponDetail);

}
